body {
	margin:0;
	padding:20px;
	
	background-color:#eee;
	color: #000;
	font: 10px Verdana;
	text-align:center;
}
a, a:visited {
	color:#fff000;
	text-decoration:none;
	font-weight:bolder;
	outline:none;
}
a:hover {
	text-decoration:underline;
}
h1 {
	margin:0 0 10px;
	padding:5px 0;
	font-size:18px;
}
h1.game-title {
	background:url("../img/yamb-32.png") no-repeat 0 0;
	height:40px;
	position:absolute;
	padding:5px 0 5px 40px;
}
#select-sex {
	font-size: 30px;
	color:#ccc;
	display:none;
}
#select-sex h1 {
	color:#369;
	font-size:48px;
}
#select-sex a {
	color:#aaa;
}
#select-sex a:hover {
	text-decoration:none;
	color:#000;
}

.yamb-help {
	background:#fff;
	padding:10px;
	position:absolute;
	z-index:10;
	display:none;
	color:#000;
	width:92.5%;
	border:1px solid #555;
}
.yamb-help-close {
	color:#000;
	display:block;
	width:20px;
	height:20px;
	overflow:hidden;
	text-indent: -100em;
	background:url("../img/gui/close.gif") no-repeat center center;
	cursor:pointer;
}
.yamb-countdown {
	float:right;
	margin:10px 15px 10px 5px;
	clear: right;
}
.yamb-countdown-label {
	float:right;
	margin:10px 0;
}
.yamb-container {
	width:600px;
	margin:0;
	background:#3B5998;
	border:10px solid #ccc;
	color:#fff;
	padding:10px;
	-moz-border-radius:10px;
	position:relative;

	text-align:left;
	overflow:hidden;
	cursor: default;
}

input.throw-button {
	float:right;
	margin:10px 10px 0 0;
}
.display {
	float:right;
	clear:right;
	font-weight:bolder;
	font-size:1.5em;
	margin:10px 10px 0 0;
}
.right {
	float:right;
}
.left {
	flaot:left;
}
.clear {
	clear: both;
}
.disable-mask {
	background:#EFFFEF;
	position:absolute;
	width:100%;
	height:100%;
	opacity:0.5;
	display:none;
	z-index:1;
	margin:-55px 0 0 -10px;
}
.yamb-table {
	margin-top:36px;
}
.result {
	background:#369;
	color:#fff;
	font-weight:bolder;
	-moz-border-radius:10px;
	padding:10px;
	float:right;
	clear:right;
	width:100px;
	text-align:center;
	display:none;
	position:absolute;
	z-index:2;
	left:250px;
	margin-top:200px;
}
.result h1 {
	border:none;
	margin:10px 0;
	padding:0;
}
.result a {
}
.controls {
	position:absolute;
}
.controls .undo {
	margin:10px 0;
	display:block;
	float:left;
	clear:both;
}

ul.dices {
	list-style-type:none;
	margin:0;
	padding:0;
	float:left;
}
ul.dices li {
	float:left;
	margin:0 1px;
	padding:0;
	width:30px;
	height:30px;
	overflow:hidden;
	background-image: url(../img/gui/dice-dark.png);
	background-repeat:no-repeat;
	background-position: -100em 0;
	border:2px outset #fff;
	background-color:#fff;
	-moz-border-radius:10px;
	cursor:pointer;
}
ul.dices li[locked="1"] {
	background-color:#00bcff;
	border-color:#00bcff;
}

ul.dices li.value1 {background-position:0 0}
ul.dices li.value2 {background-position:-30px 0}
ul.dices li.value3 {background-position:-60px 0}
ul.dices li.value4 {background-position:-90px 0}
ul.dices li.value5 {background-position:-120px 0}
ul.dices li.value6 {background-position:-150px 0}

table.yamb {
	float:left;
	cursor:default;
	color:#555;
}

table.yamb td {
	width:20px;
	height:26px;
	padding:2px;
	overflow:hidden;
	text-align:center;
	-moz-border-radius:4px;
}

table.yamb tr td.field.called {
	background:#ffee40 !important;
	border-color:transparent !important;
	opacity:1 !important;
	cursor:pointer;
}

table.yamb tr td.empty,
table.yamb tr.sum td,
table.yamb tr.head td {
	text-align:center;
	font-weight:bolder;
	border:1px solid transparent;
	color:#A7BADF;
}
table.yamb tr td.label {
	text-align:center;
	color:#A7BADF;
	border-color:transparent;
	text-transform: uppercase;
}
table.yamb tr.head td {	background-color:#A7BADF;}
table.yamb tr.head td.empty {background-color:transparent;}

table.yamb tr td.field {
	background:#fff;
	opacity:0.05;
}
table.yamb tr td.field.played {
	opacity:1;
	background:#fff;
}
table.yamb tr td.field.toplay {
	cursor:pointer; 
	opacity:1;
	background:transparent;
	border:1px solid #00bcff;
}
table.yamb tr td.field.over-value {
	color:#00BCFF;
}
table.yamb tr td.field[value] {cursor:default;}

table.yamb tr.sum td {
	background:#A7BADF;
	color:#3B5998 ;
}
table.yamb tr.sum td.label {
	color:transparent;
	background:transparent;
}
table.yamb tr.sum td.total {
	width:70px;
	background:#00bcff;
	color:#3B5998;
}
table.yamb tr.sum td.empty {
	background-color:transparent;
}
table.yamb tr.sum td.total.yamb-total {
	background:transparent;
	color:#fff;
	font-size:17px;
}

#yamb-end-mask {
	background:#000;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	z-index:100;
}
#yamb-end-container {
	background:#fff;
	color:#555;
	padding:10px;
	position:absolute;
	z-index:101;
	-moz-border-radius: 10px;
	text-align: center;
	border:5px solid #ccc;
}
#yamb-end-container a {
	color:#00BCFF;
}
#yamb-end-container h2 {
	margin:0 0 15px 0;
	padding:0;
	text-align:center;
	color:#3B5998;
	font-size:20px;
}
#yamb-end-container .end-result {
	font-size:20px;
	line-height:12px;
	color:#3B5998;
}